import React from 'react';
import { AxTabTitleCard } from '@/components/AxBase';

const tabList = [{
    key: 'tab01',
    tab: '待办事项',
    url: '/buyer/person/deal/need',
}, {
    key: 'tab02',
    tab: '已办事项',
    url: '/buyer/person/deal/done',
}, {
    key: 'tab03',
    tab: '我的申请',
    url: '/buyer/person/deal/apply',
}];
const Layout: React.FC<any> = ({ children }) => {

    return (
        <AxTabTitleCard
            title='个人中心'
            tabList={tabList}
        >
            {children}
        </AxTabTitleCard>
    );
};

export default Layout;

